Ignore:
Timestamp:
May 9, 2016, 9:51:56 AM (3 years ago)
Author:
cameron
Message:

Include codegen options in -help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/u8u16.cpp

    r5033 r5036  
    11/*
    2  *  Copyright (c) 2015 International Characters.
     2 *  Copyright (c) 2016 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    2323#include <re/re_cc.h>
    2424#include <cc/cc_compiler.h>
     25#include <pablo/pablo_toolchain.h>
    2526#include <pablo/function.h>
    2627#include <IDISA/idisa_builder.h>
     
    3738
    3839#include <fcntl.h>
    39 
    40 static cl::list<std::string> inputFiles(cl::Positional, cl::desc("<input file ...>"), cl::OneOrMore);
    41 
    42 
     40static cl::OptionCategory u8u16Options("u8u16 Options",
     41                                            "Transcoding control options.");
     42
     43static cl::list<std::string> inputFiles(cl::Positional, cl::desc("<input file ...>"), cl::OneOrMore, cl::cat(u8u16Options));
    4344
    4445//
     
    283284
    284285int main(int argc, char *argv[]) {
     286    cl::HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *>{&u8u16Options, pablo::pablo_toolchain_flags(), codegen::codegen_flags()});
    285287    cl::ParseCommandLineOptions(argc, argv);
    286288
Note: See TracChangeset for help on using the changeset viewer.