From: Masatake YAMATO Date: Fri, 19 Apr 2024 17:17:05 +0000 (+0900) Subject: lsns: add --filter option to the --help optout and the completion rule X-Git-Tag: v2.42-start~388^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2285fe65c394cc6feaaea2733c68249a12f82744;p=thirdparty%2Futil-linux.git lsns: add --filter option to the --help optout and the completion rule Signed-off-by: Masatake YAMATO --- diff --git a/bash-completion/lsns b/bash-completion/lsns index fb118df55..79c719056 100644 --- a/bash-completion/lsns +++ b/bash-completion/lsns @@ -36,6 +36,7 @@ _lsns_module() case $cur in -*) COMPREPLY=( $(compgen -W " + --filter --json --list --noheadings diff --git a/sys-utils/lsns.c b/sys-utils/lsns.c index 67a563ebc..89484dd58 100644 --- a/sys-utils/lsns.c +++ b/sys-utils/lsns.c @@ -1450,6 +1450,7 @@ static void __attribute__((__noreturn__)) usage(void) fputs(_(" --output-all output all columns\n"), out); fputs(_(" -P, --persistent namespaces without processes\n"), out); fputs(_(" -p, --task print process namespaces\n"), out); + fputs(_(" -Q, --filter apply display filter\n"), out); fputs(_(" -r, --raw use the raw output format\n"), out); fputs(_(" -u, --notruncate don't truncate text in columns\n"), out); fputs(_(" -W, --nowrap don't use multi-line representation\n"), out);