Skip to content

Commit

Permalink
Merge pull request #1966 from rsteube/git-updateserverinfo
Browse files Browse the repository at this point in the history
git: update-server-info
  • Loading branch information
rsteube authored Nov 1, 2023
2 parents 10c4a8d + 20caac0 commit 50ed2f9
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ import (
"github.com/spf13/cobra"
)

var update_server_infoCmd = &cobra.Command{
var updateServerInfoCmd = &cobra.Command{
Use: "update-server-info",
Short: "Update auxiliary info file to help dumb servers",
Run: func(cmd *cobra.Command, args []string) {},
GroupID: groups[group_low_level_synching].ID,
}

func init() {
carapace.Gen(update_server_infoCmd).Standalone()
update_server_infoCmd.Flags().BoolP("force", "f", false, "update the info files from scratch")
rootCmd.AddCommand(update_server_infoCmd)
carapace.Gen(updateServerInfoCmd).Standalone()

updateServerInfoCmd.Flags().BoolP("force", "f", false, "update the info files from scratch")
rootCmd.AddCommand(updateServerInfoCmd)
}

0 comments on commit 50ed2f9

Please sign in to comment.