B #4981: CLI interprete backslash escapes (#938)

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2021-03-10 18:01:02 +01:00
1 parent 6f8d978bb8
commit 2e0514527f
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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