Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two fixes for bash completion #4681

Merged
merged 2 commits into from
Nov 4, 2023
Merged

two fixes for bash completion #4681

merged 2 commits into from
Nov 4, 2023

Commits on Oct 30, 2023

  1. correct bash completion

    Run `rpm-ostree -' with bash completion, an invalid `-q,' was found
    
    [root@localhost ~]# rpm-ostree -
    --help     --version  -q,
    
    Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
    hongxu-jia committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    de08dc7 View commit details
    Browse the repository at this point in the history
  2. src/app/libmain.cxx: correct output of rpm-ostree compose -h

    Need append a space between container-encapsulate and Generate in
    rpm-ostree compose -h
    ...
    $ rpm-ostree compose -h
    [root@localhost ~]# rpm-ostree compose -h
    Usage:
      rpm-ostree compose [OPTION…] COMMAND
    
    Commands to compose a tree
    
    Builtin "compose" Commands:
      commit           Commit a target path to an OSTree repository
      container-encapsulateGenerate a reproducible "chunked" container image(using RPM data) from an OSTree commit
    ...
    
    It also corrected the bash completion of `rpm-ostree compose'
    ...
    [root@localhost ~]# rpm-ostree compose
    --help                         image
    --quiet                        install
    commit                         postprocess
    container-encapsulateGenerate  tree
    extensions
    [root@localhost ~]# rpm-ostree compose
    ...
    
    Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
    hongxu-jia committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    14abd99 View commit details
    Browse the repository at this point in the history