mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-31 18:32:43 +00:00
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…
x
Reference in New Issue
Block a user