-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
For some cmds, parameter names are separated by - char, in others camel case is used.
For example
Lines 51 to 53 in 63d1b25
| cmd.Flags().StringVar(&logicalBridge, "logicalBridge", "", "Pair of vni and vlan_id must be unique") | |
| cmd.Flags().StringVar(&mac, "mac", "", "GW MAC address, random MAC assigned if not specified") | |
| cmd.Flags().StringSliceVar(&gwIPs, "gw-ips", nil, "List of GW IP addresses") |
Lines 103 to 104 in 63d1b25
| cmd.Flags().BoolVarP(&allowMissing, "allowMissing", "a", false, "Specify the name of the BridgePort") | |
| cmd.Flags().StringVar(&addr, "addr", "localhost:50151", "address of OPI gRPC server") |
Lines 221 to 222 in 63d1b25
| cmd.Flags().StringSliceVar(&updateMask, "update-mask", nil, "update mask") | |
| cmd.Flags().BoolVarP(&allowMissing, "allowMissing", "a", false, "allow the missing") |
godpu/cmd/storage-nvme-controller.go
Lines 146 to 147 in 63d1b25
| cmd.Flags().BoolVar(&allowMissing, "allowMissing", false, "cmd succeeds if attempts to delete a resource that is not present") | |
Code should be aligned in all files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers