@@ -73,7 +73,7 @@ func PrintTestCaseOutput(testCase *TestCaseIO) {
73
73
74
74
func PrintCaseAction (context * cli.Context ) error {
75
75
if context .Bool ("input-only" ) && context .Bool ("output-only" ) {
76
- color .Red ("--input-only and --output-only cannot be exiting both ." )
76
+ color .Red ("only --input-only or --output-only should be set ." )
77
77
return errors .New ("Invalid commands arguments" )
78
78
}
79
79
@@ -85,7 +85,7 @@ func PrintCaseAction(context *cli.Context) error {
85
85
id , err := strconv .Atoi (context .Args ().Get (0 ))
86
86
87
87
if err != nil {
88
- color .Red ("Cannot parse test id, a number required!" )
88
+ color .Red (fmt . Sprintf ( "Cannot parse test id = '%s' , a number required!" , context . Args (). Get ( 0 )) )
89
89
return errors .New (fmt .Sprintf ("Failed to parse test id = %s" , context .Args ().Get (0 )))
90
90
}
91
91
@@ -110,7 +110,7 @@ func PrintCaseAction(context *cli.Context) error {
110
110
111
111
testCase := GetTestCase (metaData , id )
112
112
if testCase == nil {
113
- color .Red ("Count not find test case with given id" )
113
+ color .Red (fmt . Sprintf ( "Could not find test case with id = %d" , id ) )
114
114
return errors .New (fmt .Sprintf ("Unknown test case with id %d" , id ))
115
115
}
116
116
@@ -126,9 +126,9 @@ func PrintCaseAction(context *cli.Context) error {
126
126
}
127
127
128
128
// Command to print a test case. this command can be used to print inputs and/or outputs
129
- // to the consol. The user can choose the print the input only or the output only. The
129
+ // to the consol. The user can choose to print the input only or the output only. The
130
130
// user should provide a valid test id.
131
- // Running this command will fetch egor meta data, get the Test case with the given id,
131
+ // Running this command will fetch egor meta data, get the test case with the given id,
132
132
// and then print the content of the input and/or of the output files.
133
133
var PrintCaseCommand = cli.Command {
134
134
Name : "printcase" ,
0 commit comments