From 2e0514527f232f35b0956e39214bacf113dae815 Mon Sep 17 00:00:00 2001 From: Alejandro Huertas Herrero Date: Wed, 10 Mar 2021 18:01:02 +0100 Subject: [PATCH] B #4981: CLI interprete backslash escapes (#938) --- src/cli/onehost | 4 ++-- src/cli/oneimage | 4 ++-- src/cli/onemarketapp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cli/onehost b/src/cli/onehost index 49a6b87760..95304ffb88 100755 --- a/src/cli/onehost +++ b/src/cli/onehost @@ -171,8 +171,8 @@ CommandParser::CmdParser.new(ARGV) do [:file, nil], :options => CREAT_OPTIONS do if options[:im].nil? || options[:vm].nil? STDERR.puts 'Drivers are mandatory to create a host:' - STDERR.puts '\t -i information driver' - STDERR.puts '\t -v hypervisor driver' + STDERR.puts "\t -i information driver" + STDERR.puts "\t -v hypervisor driver" exit(-1) end diff --git a/src/cli/oneimage b/src/cli/oneimage index 676e124e7b..5087032a66 100755 --- a/src/cli/oneimage +++ b/src/cli/oneimage @@ -164,7 +164,7 @@ CommandParser::CmdParser.new(ARGV) do :options => CREATE_OPTIONS + OneImageHelper::TEMPLATE_OPTIONS do if options[:datastore].nil? && !options[:dry] STDERR.puts 'Datastore to save the image is mandatory: ' - STDERR.puts '\t -d datastore_id' + STDERR.puts "\t -d datastore_id" exit(-1) end @@ -484,7 +484,7 @@ CommandParser::CmdParser.new(ARGV) do # Check user options unless options[:datastore] STDERR.puts 'Datastore to save the image is mandatory: ' - STDERR.puts '\t -d datastore_id' + STDERR.puts "\t -d datastore_id" exit(-1) end diff --git a/src/cli/onemarketapp b/src/cli/onemarketapp index 2ea9f1f4a4..bedf7697fd 100755 --- a/src/cli/onemarketapp +++ b/src/cli/onemarketapp @@ -177,7 +177,7 @@ CommandParser::CmdParser.new(ARGV) do OneMarketPlaceAppHelper::TEMPLATE_OPTIONS do if options[:marketplace].nil? STDERR.puts 'Marketplace to save the app is mandatory: ' - STDERR.puts '\t -m marketplace_id' + STDERR.puts "\t -m marketplace_id" exit(-1) end