mirror of
https://github.com/hyprwm/hyprpicker.git
synced 2024-11-17 00:25:57 +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") {
|
} else if (arg == "--no-fancy") {
|
||||||
g_pHyprpicker->m_bFancyOutput = false;
|
g_pHyprpicker->m_bFancyOutput = false;
|
||||||
} else {
|
} 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);
|
exit(1);
|
||||||
}
|
}
|
||||||
} else if (currentlyParsing == 1) {
|
} else if (currentlyParsing == 1) {
|
||||||
|
@ -40,4 +43,4 @@ int main(int argc, char** argv, char** envp) {
|
||||||
g_pHyprpicker->init();
|
g_pHyprpicker->init();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue