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 --- Completion/Linux/Command/_choom | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Completion/Linux/Command/_choom (limited to 'Completion/Linux') 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