diff options
author | Karel Zak <kzak@redhat.com> | 2024-04-22 12:05:05 +0200 |
---|---|---|
committer | Karel Zak <kzak@redhat.com> | 2024-04-22 12:05:05 +0200 |
commit | 6c274b0a1409c6f32d722911bb09e80a598b223b (patch) | |
tree | 54ab59eb2526ccaea24c690d09e096708aa11840 | |
parent | 8dffefad2b95a8bfa2db426d485d122840429f95 (diff) | |
parent | 2285fe65c394cc6feaaea2733c68249a12f82744 (diff) | |
download | util-linux-6c274b0a1409c6f32d722911bb09e80a598b223b.tar.gz |
Merge branch 'lsns--filter-option-in-usage' of https://github.com/masatake/util-linux
* 'lsns--filter-option-in-usage' of https://github.com/masatake/util-linux:
lsns: add --filter option to the --help optout and the completion rule
-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); |