Fix width of wwctl image shell --help
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
committed by
Christian Goll
parent
248a739070
commit
3db131eadf
@@ -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
|
- Do not let API add a node that exists
|
||||||
- Fixed sleep/rebooting on error during GRUB boot. #1894
|
- Fixed sleep/rebooting on error during GRUB boot. #1894
|
||||||
- Fixed IPMI VLAN configuration. #1892
|
- Fixed IPMI VLAN configuration. #1892
|
||||||
|
- Fixed `wwctl image shell --help` to fit properly within 80 columns.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
|||||||
@@ -31,10 +31,12 @@ var (
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
baseCmd.PersistentFlags().StringArrayVarP(&binds, "bind", "b", []string{}, `source[:destination[:{ro|copy}]]
|
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
|
Bind a local path which must exist into the image.
|
||||||
set, uses the same path as source. "ro" binds read-only. "copy" temporarily
|
If destination is not set, uses the same path as
|
||||||
|
source. "ro" binds read-only. "copy" temporarily
|
||||||
copies the file into the image.`)
|
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(&syncUser, "syncuser", false, "Synchronize UIDs/GIDs from host to image")
|
||||||
baseCmd.PersistentFlags().BoolVar(&build, "build", true, "(Re)build the image automatically")
|
baseCmd.PersistentFlags().BoolVar(&build, "build", true, "(Re)build the image automatically")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user