Skip to content

Commit bf49964

Browse files
authored
Better help for --trace-output (#395)
1 parent d551e5c commit bf49964

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎xprof/xprof.rb.in‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,6 +914,7 @@ if __FILE__ == $PROGRAM_NAME
914914
parser.banner = "Usage: #{File.basename($PROGRAM_NAME)} [options] [--] [command]"
915915

916916
parser.on('--trace-output PATH', 'Define where the CTF trace will be saved.',
917+
'If multiple hostnames are traced, ensure that this PATH is accessible by all.',
917918
'Default: `$THAPI_HOME/thapi-traces/thapi--[trace-type][date]`',
918919
'(`$THAPI_HOME` defaults to `$HOME`,',
919920
' and `date` is formatted using ISO 8601 convention).') do |p|
@@ -936,7 +937,7 @@ if __FILE__ == $PROGRAM_NAME
936937
r.to_i
937938
else
938939
raise(OptionParser::ParseError,
939-
"Invalid value (#{r}). Only positive integers and -1 accepted")
940+
"Invalid value (#{r}). Only positive integers and -1 accepted.")
940941
end
941942
end
942943
end

0 commit comments

Comments
 (0)