Separated auth from util and fixed help strings

This commit is contained in:
David Allen 2024-08-12 13:05:28 -06:00
parent dce823c6d8
commit 3287d76588
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC
4 changed files with 10 additions and 11 deletions

View file

@ -26,7 +26,7 @@ var (
var updateCmd = &cobra.Command{
Use: "update hosts...",
Short: "Update BMC node firmware",
Long: "Perform an firmware update using Redfish by providing a remote firmware URL and component.\n" +
Long: "Perform an firmware update using Redfish by providing a remote firmware URL and component.\n\n" +
"Examples:\n" +
" magellan update --bmc.host 172.16.0.108 --bmc.port 443 --username bmc_username --password bmc_password --firmware-url http://172.16.0.200:8005/firmware/bios/image.RBU --component BIOS\n" +
" magellan update --status --bmc.host 172.16.0.108 --bmc.port 443 --username bmc_username --password bmc_password",