mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-12-22 06:09:48 +01:00
commit
69dc644b9f
1 changed files with 5 additions and 2 deletions
|
@ -18,7 +18,10 @@ int main(int argc, char** argv, char** envp) {
|
|||
} else if (arg == "--no-fancy") {
|
||||
g_pHyprpicker->m_bFancyOutput = false;
|
||||
} else {
|
||||
Debug::log(NONE, "Unrecognized option %s", arg.c_str());
|
||||
std::cout << "Hyprpicker usage: hyprpicker [arg [...]].\n\nArguments:\n" <<
|
||||
" --format [fmt] | Specifies the output format (hex, rgb)\n" <<
|
||||
" --no-fancy | Disables the \"fancy\" (aka. colored) outputting\n" <<
|
||||
" --help | Show this help message\n";
|
||||
exit(1);
|
||||
}
|
||||
} else if (currentlyParsing == 1) {
|
||||
|
@ -40,4 +43,4 @@ int main(int argc, char** argv, char** envp) {
|
|||
g_pHyprpicker->init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue