From 8becb893579af0ca41617a15d3afcbea588fe621 Mon Sep 17 00:00:00 2001 From: Jörg Sommer Date: Wed, 12 Aug 2020 12:16:03 +0200 Subject: 47320: Add completion for Linux tool used to adjust process OOM score --- ChangeLog | 3 +++ Completion/Linux/Command/_choom | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 Completion/Linux/Command/_choom diff --git a/ChangeLog b/ChangeLog index 5a21e6abe..d14b527fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2020-08-13 Oliver Kiddle + * Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add + completion for Linux tool used to adjust process OOM score + * 47321: Completion/Linux/Command/_btrfs: update for btrfs 5.4 * 47319: Completion/Unix/Command/_imagemagick: complete more diff --git a/Completion/Linux/Command/_choom b/Completion/Linux/Command/_choom new file mode 100644 index 000000000..2a6dd03c7 --- /dev/null +++ b/Completion/Linux/Command/_choom @@ -0,0 +1,10 @@ +#compdef choom + +_arguments -S \ + '(H -n --adjust)'{-n,--adjust}'+[specify the adjust score value (-1000...1000)]:score (-1000...1000)' \ + '(H -p --pid)'{-p,--pid}'[interpret args as process ID]:process ID:_pids' \ + '(H -p --pid):command:_command_names' \ + '*::arguments:_normal' \ + + 'H' \ + '(- *)'{-V,--version}'[display version information]' \ + '(- *)'{-h,--help}'[display help information]' -- cgit 1.4.1