Merge pull request #5126 from leoetlino/version

UICommon: Don't print --version option twice
This commit is contained in:
Matthew Parlane 2017-03-22 11:10:36 +13:00 committed by GitHub
commit a32a2d1a02
1 changed files with 0 additions and 2 deletions

View File

@ -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")