mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-24 15:56:25 -05:00
Merge pull request #144 from jpleau/help_parameter
alias --help to -h/-help
This commit is contained in:
commit
9ddb3321d7
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…
Add table
Reference in a new issue