Skip to content

Commit

Permalink
Fix help
Browse files Browse the repository at this point in the history
  • Loading branch information
spiegel-im-spiegel committed Feb 24, 2023
1 parent dc80491 commit e660331
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ See [latest release](https://github.com/goark/apod/releases/latest).

```
$ apod -h
OpenPGP (RFC 4880) packet visualizer by golang.
CLI Tool for Astronomy Picture of the Day with NASA API.
Usage:
apod [flags]
Expand All @@ -35,7 +35,7 @@ Available Commands:
Flags:
--api-key string NASA API key
--config string Config file (default /home/spiegel/.config/apod/config.yaml)
--config string Config file (default /home/username/.config/apod/config.yaml)
--count int count randomly chosen images
--date string date of the APOD image to retrieve (YYYY-MM-DD)
--debug for debug
Expand Down Expand Up @@ -71,7 +71,7 @@ Flags:
Global Flags:
--api-key string NASA API key
--config string Config file (default /home/spiegel/.config/apod/config.yaml)
--config string Config file (default /home/username/.config/apod/config.yaml)
--count int count randomly chosen images
--date string date of the APOD image to retrieve (YYYY-MM-DD)
--debug for debug
Expand Down Expand Up @@ -114,7 +114,7 @@ Flags:
Global Flags:
--api-key string NASA API key
--config string Config file (default /home/spiegel/.config/apod/config.yaml)
--config string Config file (default /home/username/.config/apod/config.yaml)
--count int count randomly chosen images
--date string date of the APOD image to retrieve (YYYY-MM-DD)
--debug for debug
Expand Down
4 changes: 2 additions & 2 deletions facade/facade.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ var (
func newRootCmd(ui *rwi.RWI, args []string) *cobra.Command {
rootCmd := &cobra.Command{
Use: Name,
Short: "OpenPGP packet visualizer",
Long: "OpenPGP (RFC 4880) packet visualizer by golang.",
Short: "CLI Tool for Astronomy Picture of the Day with NASA API",
Long: "CLI Tool for Astronomy Picture of the Day with NASA API.",
RunE: func(cmd *cobra.Command, args []string) error {
return debugPrint(ui, errs.Wrap(ecode.ErrNoCommand))
},
Expand Down

0 comments on commit e660331

Please sign in to comment.