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

renamed short flag for extensions to match fd #96

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading