Merge pull request #25131 from poettering/image-root-help-text-fix

analyze/coredumpctl: add --image=/--root= to --help texts
This commit is contained in:
Yu Watanabe 2022-10-26 03:17:17 +09:00 committed by GitHub
commit d0f69be793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -241,6 +241,8 @@ static int help(int argc, char *argv[], void *userdata) {
" -h --help Show this help\n"
" --version Show package version\n"
" -q --quiet Do not emit hints\n"
" --root=PATH Operate on an alternate filesystem root\n"
" --image=PATH Operate on disk image as filesystem root\n"
"\nSee the %s for details.\n",
program_invocation_short_name,
ansi_highlight(),

View file

@ -195,6 +195,8 @@ static int verb_help(int argc, char **argv, void *userdata) {
" -D --directory=DIR Use journal files from directory\n\n"
" -q --quiet Do not show info messages and privilege warning\n"
" --all Look at all journal files instead of local ones\n"
" --root=PATH Operate on an alternate filesystem root\n"
" --image=PATH Operate on disk image as filesystem root\n"
"\nSee the %2$s for details.\n",
program_invocation_short_name,
link,