mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
core/command: improve dead instance selection
Prints dead instances if they exist, as well as allowing dead instance selection for a substring if no live instances exist.
This commit is contained in:
parent
86591f122d
commit
0e6518a706
8 changed files with 86 additions and 24 deletions
|
|
@ -163,6 +163,9 @@ int parseCommand(int argc, char** argv, CommandState& state) {
|
|||
|
||||
sub->add_flag("-j,--json", state.output.json, "Output the list as a json.");
|
||||
|
||||
sub->add_flag("--show-dead", state.instance.includeDead)
|
||||
->description("Include dead instances in the list.");
|
||||
|
||||
addConfigSelection(sub, true)->excludes(all);
|
||||
addLoggingOptions(sub, false, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue