Merge pull request #1921 from anderbubble/image-help-width
Fix width of wwctl image shell --help
This commit is contained in:
@@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Do not let API add a node that exists
|
||||
- Fixed sleep/rebooting on error during GRUB boot. #1894
|
||||
- Fixed IPMI VLAN configuration. #1892
|
||||
- Fixed `wwctl image shell --help` to fit properly within 80 columns.
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
@@ -31,10 +31,12 @@ var (
|
||||
|
||||
func init() {
|
||||
baseCmd.PersistentFlags().StringArrayVarP(&binds, "bind", "b", []string{}, `source[:destination[:{ro|copy}]]
|
||||
Bind a local path which must exist into the image. If destination is not
|
||||
set, uses the same path as source. "ro" binds read-only. "copy" temporarily
|
||||
Bind a local path which must exist into the image.
|
||||
If destination is not set, uses the same path as
|
||||
source. "ro" binds read-only. "copy" temporarily
|
||||
copies the file into the image.`)
|
||||
baseCmd.PersistentFlags().StringVarP(&nodeName, "node", "n", "", "Create a read only view of the image for the given node")
|
||||
baseCmd.PersistentFlags().StringVarP(&nodeName, "node", "n", "", `Create a read only view of the image for the given
|
||||
node`)
|
||||
baseCmd.PersistentFlags().BoolVar(&syncUser, "syncuser", false, "Synchronize UIDs/GIDs from host to image")
|
||||
baseCmd.PersistentFlags().BoolVar(&build, "build", true, "(Re)build the image automatically")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user