Skip to content

Commit

Permalink
fix params and flags
Browse files Browse the repository at this point in the history
  • Loading branch information
empiredan committed Dec 12, 2024
1 parent 7622b96 commit 503a498
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/shell/commands/duplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,9 @@ bool ls_dups(command_executor *e, shell_context *sc, arguments args)

// All valid parameters and flags are given as follows.
static const std::set<std::string> params = {
"a", "app_name_pattern", "m", "match_type", "g", "progress_gap"};
static const std::set<std::string> flags = {"p", "list_partitions", "u", "show_unfinishd"};
"a", "app_name_pattern", "m", "match_type", "g", "progress_gap", "o", "output"};
static const std::set<std::string> flags = {
"p", "list_partitions", "u", "show_unfinishd", "j", "json"};

argh::parser cmd(args.argc, args.argv, argh::parser::PREFER_PARAM_FOR_UNREG_OPTION);

Expand Down

0 comments on commit 503a498

Please sign in to comment.