Skip to content

Commit

Permalink
Revert "updates"
Browse files Browse the repository at this point in the history
This reverts commit 16b18db.
  • Loading branch information
aknysh committed Nov 2, 2024
1 parent d53f679 commit 800ccbf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions internal/exec/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func processHelp(
command string,
) error {
if len(command) == 0 {
u.PrintMessage(fmt.Sprintf("Atmos supports all native '%s' commands.\n", componentType))
u.PrintMessage(fmt.Sprintf("'atmos' supports all native '%s' commands.\n", componentType))
u.PrintMessage("In addition, the 'component' argument and 'stack' flag are required to generate the variables and backend config for the component in the stack.\n")
u.PrintMessage(fmt.Sprintf("atmos %s <command> <component> -s <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("atmos %s <command> <component> --stack <stack> [options]", componentType))
Expand Down Expand Up @@ -104,11 +104,10 @@ func processHelp(
"Usage: atmos terraform workspace <component> -s <stack>\n\n" +
"For more details refer to https://atmos.tools/cli/commands/terraform/workspace\n")
} else {
u.PrintMessage(fmt.Sprintf("\nAtmos supports native '%s' commands with all the options, arguments and flags.\n", componentType))
u.PrintMessage(fmt.Sprintf("'atmos' supports native '%s' commands with all the options, arguments and flags.\n", componentType))
u.PrintMessage("In addition, 'component' and 'stack' are required in order to generate variables for the component in the stack.\n")
u.PrintMessage(fmt.Sprintf("atmos %s <subcommand> <component> -s <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("atmos %s <subcommand> <component> --stack <stack> [options]", componentType))
u.PrintMessage(fmt.Sprintf("\nFor more details, execute '%s --help'\n", componentType))
}

return nil
Expand Down

0 comments on commit 800ccbf

Please sign in to comment.