Skip to content

Commit

Permalink
renamed short flag for extensions to match fd (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzimmer authored Jun 21, 2024
1 parent a63aa16 commit 8e8ba46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ $ ma up [flags]
|Name|Aliases|EnvVars|Description|
|-|-|-|-|
|album|a||the album to which image files will be uploaded|
|ext|x||the set of file extensions suitable for uploading|
|ext|e||the set of supported file extensions|
|dryrun|n||prepare to upload but don't actually do it|
|mirror|||mirror the local filesystem with a SmugMug gallery|
|0|||read null byte terminated strings from stdin|
Expand Down
4 changes: 2 additions & 2 deletions up.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ func CommandUpload() *cli.Command {
},
&cli.StringSliceFlag{
Name: "ext",
Usage: "the set of file extensions suitable for uploading",
Aliases: []string{"x"},
Usage: "the set of supported file extensions",
Aliases: []string{"e"},
Required: false,
Value: cli.NewStringSlice(".jpg", ".jpeg"),
},
Expand Down

0 comments on commit 8e8ba46

Please sign in to comment.