diff --git a/lib/cli/cli.dart b/lib/cli/cli.dart index 684a15c..fb9c502 100644 --- a/lib/cli/cli.dart +++ b/lib/cli/cli.dart @@ -246,12 +246,12 @@ class _PrinterUnix extends Printer { Future printCLI(List printList) async { var c = Completer(); StringBuffer message = StringBuffer(); - message.writeln("echo -e '"); + message.writeln('echo -e "'); for (var item in printList) { message.writeln(item); } - message.write("'"); + message.write('"'); var temp = await getTempFile(message.toString(), 'sh'); await Process.run('zsh', [temp.path]).then((ProcessResult result) { diff --git a/lib/cli/commands/command_exe.dart b/lib/cli/commands/command_exe.dart index 7daefb1..189e360 100644 --- a/lib/cli/commands/command_exe.dart +++ b/lib/cli/commands/command_exe.dart @@ -10,8 +10,8 @@ class CommandExe extends CommandBase { @override Map> get arguments => { '-j': ["Used when it's a Jenkins build."], - '-f {file path}': ["Run the yaml file to process."], - '-t': ["This is the setup for testing."] + '-t': ["This is the setup for testing."], + '-f {file path}': ["Run the yaml file to process."] }; @override String get name => 'exe';