Skip to content

Commit

Permalink
Update help text for absolute -N path
Browse files Browse the repository at this point in the history
  • Loading branch information
rfjakob committed Aug 9, 2021
1 parent 75a8852 commit 788fe49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ Please note that this configuration file has no effect on earlyoom instances out
Command line options
--------------------
```
./earlyoom -h
earlyoom v1.7-preview
earlyoom v1.6.2-34-g75a8852-dirty
Usage: ./earlyoom [OPTION]...
-m PERCENT[,KILL_PERCENT] set available memory minimum to PERCENT of total
Expand All @@ -250,6 +249,7 @@ Usage: ./earlyoom [OPTION]...
-M SIZE[,KILL_SIZE] set available memory minimum to SIZE KiB
-S SIZE[,KILL_SIZE] set free swap minimum to SIZE KiB
-n enable d-bus notifications
-N /PATH/TO/SCRIPT call script after oom kill
-g kill all processes within a process group
-d enable debugging messages
-v print version information and exit
Expand All @@ -261,7 +261,6 @@ Usage: ./earlyoom [OPTION]...
--avoid REGEX avoid killing processes matching REGEX
--dryrun dry run (do not kill any processes)
-h, --help this help text
```

See the [man page](MANPAGE.md) for details.
Expand Down
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ int main(int argc, char* argv[])
" -M SIZE[,KILL_SIZE] set available memory minimum to SIZE KiB\n"
" -S SIZE[,KILL_SIZE] set free swap minimum to SIZE KiB\n"
" -n enable d-bus notifications\n"
" -N SCRIPT enable programmatic notifications\n"
" -N /PATH/TO/SCRIPT call script after oom kill\n"
" -g kill all processes within a process group\n"
" -d enable debugging messages\n"
" -v print version information and exit\n"
Expand Down

0 comments on commit 788fe49

Please sign in to comment.