mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-03 04:23:42 -05:00
alias --help to -h/-help
Right now running rofi --help puts it in daemon mode, which can be confusing for the user. Options in rofi use one dash instead of two, but I believe an exception should be made for --help.
This commit is contained in:
parent
91fcc76cb2
commit
6f2c284f37
1 changed files with 1 additions and 1 deletions
|
@ -1688,7 +1688,7 @@ int main ( int argc, char *argv[] )
|
|||
quiet = TRUE;
|
||||
}
|
||||
// catch help request
|
||||
if ( find_arg ( "-h" ) >= 0 || find_arg ( "-help" ) >= 0 ) {
|
||||
if ( find_arg ( "-h" ) >= 0 || find_arg ( "-help" ) >= 0 || find_arg( "--help" ) >= 0 ) {
|
||||
help ();
|
||||
exit ( EXIT_SUCCESS );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue