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

USAGE description requires command while it isn't requirement #178

Closed
CompuRoot opened this issue Apr 17, 2022 · 2 comments
Closed

USAGE description requires command while it isn't requirement #178

CompuRoot opened this issue Apr 17, 2022 · 2 comments

Comments

@CompuRoot
Copy link

CompuRoot commented Apr 17, 2022

gomtree -h

Returns:

USAGE:
   gomtree [global options] command [command options] [arguments...]

where command is required argument to gomtree while in fact there no functional commands (except help) that needed to run gomtree

Suggestion to get rid of : command [command options] at all since it isn't matched upstream and has no functionality in the gomtree


Also, it might be good to add description (stolen from MTREE(8)) in help section:

DESCRIPTION
    The mtree utility compares the file hierarchy rooted in the current
    directory against a specification read from the standard input. Messages
    are written to the standard output for any files whose characteristics
    do not match the specification, or which are missing from either the
    file hierarchy or the specification.
@vbatts
Copy link
Owner

vbatts commented Apr 23, 2022

the "command" is expected. 17687d8 was done so that we could maintain the top-level compatibility, but also begin adding features in subcommands, for specific functionality.
Specifically I want to handle an ordered list of tars that are intended for container image layers, to produce or check that the resulting container image directory hierarchy #76

@vbatts
Copy link
Owner

vbatts commented Apr 23, 2022

I'll open a separate issue for the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants