mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
UICommon: Don't print --version option twice
cpp-optparse already has the --version option built-in, so having our own version option results in --version being shown twice.
This commit is contained in:
parent
d2690568f9
commit
3028158873
@ -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…
x
Reference in New Issue
Block a user