From 95f6a6deb56305119eab26440b3758d28f6b2b27 Mon Sep 17 00:00:00 2001 From: Brian Zimmer Date: Fri, 21 Jun 2024 09:05:54 +0200 Subject: [PATCH 1/2] renamed short flag for extensions to match fd --- up.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/up.go b/up.go index 584c369..9fa2d69 100644 --- a/up.go +++ b/up.go @@ -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"), }, From 00065f7e97afb27bc8ed297630c201214391dbd6 Mon Sep 17 00:00:00 2001 From: Brian Zimmer Date: Fri, 21 Jun 2024 09:07:40 +0200 Subject: [PATCH 2/2] updated documentation --- docs/commands.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/commands.md b/docs/commands.md index 961408c..c9c374f 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -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|