Merge pull request #5126 from leoetlino/version
UICommon: Don't print --version option twice
This commit is contained in:
commit
a32a2d1a02
|
@ -66,8 +66,6 @@ std::unique_ptr<optparse::OptionParser> CreateParser(ParserOptions options)
|
|||
auto parser = std::make_unique<optparse::OptionParser>();
|
||||
parser->usage("usage: %prog [options]... [FILE]...").version(scm_rev_str);
|
||||
|
||||
parser->add_option("--version").action("version").help("Print version and exit");
|
||||
|
||||
parser->add_option("-u", "--user").action("store").help("User folder path");
|
||||
parser->add_option("-m", "--movie").action("store").help("Play a movie file");
|
||||
parser->add_option("-e", "--exec")
|
||||
|
|
Loading…
Reference in New Issue