From 0be21f185ef5f97ced4e52a20af77bb9cf94db3e Mon Sep 17 00:00:00 2001 From: Rune Morling Date: Thu, 3 Oct 2024 03:59:57 +0200 Subject: [PATCH] copy_source: Rename skip-index short flag to '-x' Was previously '-si', but shorthand flags need to be one letter. Without this fix, ferryctl fails to start and spits out a traceback. Signed-off-by: Rune Morling --- src/ferryctl/cmd/copy_source.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ferryctl/cmd/copy_source.go b/src/ferryctl/cmd/copy_source.go index 2e5f41b..7ffd63d 100644 --- a/src/ferryctl/cmd/copy_source.go +++ b/src/ferryctl/cmd/copy_source.go @@ -39,7 +39,7 @@ var copySourceCmd = &cobra.Command{ func init() { CopyCmd.AddCommand(copySourceCmd) - CopyCmd.PersistentFlags().BoolVarP(&skipIndex, "skip-index", "si", false, "Skip updating the index of the target") + CopyCmd.PersistentFlags().BoolVarP(&skipIndex, "skip-index", "x", false, "Skip updating the index of the target") } func copySource(cmd *cobra.Command, args []string) {