Skip to content

Commit 30246e0

Browse files
Update StartStopInstance.java
1 parent 1cb4c38 commit 30246e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javav2/example_code/ec2/src/main/java/com/example/ec2/StartStopInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void main(String[] args)
6666
"To run this example, supply an instance id and start or stop\n" +
6767
"Ex: StartStopInstance <instance-id> <start|stop>\n";
6868

69-
if (args.length != 1) {
69+
if (args.length != 2) {
7070
System.out.println(USAGE);
7171
System.exit(1);
7272
}

0 commit comments

Comments
 (0)