minor formatting changes

This commit is contained in:
2024-04-18 09:39:05 -06:00
parent 1ffadf5c86
commit 344d874c02
4 changed files with 0 additions and 16 deletions

View File

@ -31,5 +31,4 @@ hypd generate defaultconfig | tee hypdconfig.json`,
func init() {
generateCmd.AddCommand(defaultconfigCmd)
}

View File

@ -31,14 +31,4 @@ hypd generate secret > hyp.secret`,
func init() {
generateCmd.AddCommand(secretCmd)
// Here you will define your flags and configuration settings.
// Cobra supports Persistent Flags which will work for this command
// and all subcommands, e.g.:
// secretCmd.PersistentFlags().String("foo", "", "A help for foo")
// Cobra supports local flags which will only run when this command
// is called directly, e.g.:
// secretCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}

View File

@ -37,7 +37,6 @@ Example Usage:
hypd server /etc/hyp/hypdconfig.json
`,
Run: func(cmd *cobra.Command, args []string) {
currentUser, err := user.Current()
if err != nil {
panic(fmt.Errorf("could not determine current user: %w", err))
@ -54,7 +53,6 @@ Example Usage:
if err != nil {
panic(fmt.Errorf("failed to start packet server: %w", err))
}
},
}