Skip to content

Commit

Permalink
docs: Add newest --help output to reference (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Aug 25, 2021
1 parent 3525b0d commit b70efe0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,14 @@ Execute a command for the current directory on multiple architectures and operat
See https://github.com/pojntfx/hydrun for more information.

Usage: hydrun [OPTION...] "<COMMAND...>"
-a, --arch string Comma-separated list of architectures to run on (default "amd64")
-c, --context string Directory to use in the container
-e, --extra-args string Extra arguments to pass to the Docker command
-i, --it Attach stdin and setup a TTY
-j, --jobs int Maximum amount of parallel jobs (default 1)
-o, --os string Comma-separated list of operating systems to run on (default "debian")
-a, --arch string Comma-separated list of architectures to run on (default "amd64")
-c, --context string Directory to use in the container
-e, --extra-args string Extra arguments to pass to the Docker command
-i, --it Attach stdin and setup a TTY
-j, --jobs int Maximum amount of parallel jobs (default 1)
-o, --os string Comma-separated list of operating systems (Docker images) to run on (default "debian")
-p, --pull Always pull the specified tags of the operating systems (Docker images)
-q, --quiet Disable logging executed commands
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Usage: %s [OPTION...] "<COMMAND...>"
itFlag := pflag.BoolP("it", "i", false, "Attach stdin and setup a TTY")
contextFlag := pflag.StringP("context", "c", "", "Directory to use in the container")
extraArgs := pflag.StringP("extra-args", "e", "", "Extra arguments to pass to the Docker command")
pullFlag := pflag.BoolP("pull", "p", false, "Always pull the latest available tag of the Docker images")
pullFlag := pflag.BoolP("pull", "p", false, "Always pull the specified tags of the operating systems (Docker images)")
quietFlag := pflag.BoolP("quiet", "q", false, "Disable logging executed commands")

pflag.Parse()
Expand Down

0 comments on commit b70efe0

Please sign in to comment.