diff options
| author | Masatake YAMATO <yamato@redhat.com> | 2024-04-20 02:17:05 +0900 |
|---|---|---|
| committer | Masatake YAMATO <yamato@redhat.com> | 2024-04-20 02:17:05 +0900 |
| commit | 2285fe65c394cc6feaaea2733c68249a12f82744 (patch) | |
| tree | f4e69ab2889b51dc70e3cfbdba4264a593d38348 | |
| parent | a6d12b403eec9f3fddc0fa82325dac04826c4b48 (diff) | |
| download | util-linux-2285fe65c394cc6feaaea2733c68249a12f82744.tar.gz | |
lsns: add --filter option to the --help optout and the completion rule
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
| -rw-r--r-- | bash-completion/lsns | 1 | ||||
| -rw-r--r-- | sys-utils/lsns.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/bash-completion/lsns b/bash-completion/lsns index fb118df55d..79c719056c 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 67a563ebc3..89484dd583 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 <pid> print process namespaces\n"), out); + fputs(_(" -Q, --filter <expr> 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); |
