Skip to content

Commit

Permalink
fix: attempt of a more explicit edit message (quarkusio#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen authored Nov 27, 2020
1 parent fdcd0ff commit f15cd87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/dev/jbang/cli/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ public Integer doCall() throws IOException {
}

info("File initialized. You can now run it with 'jbang " + scriptOrFile
+ "' or edit it using 'jbang edit --open=" + knowneditors[new Random().nextInt(knowneditors.length)]
+ " " + scriptOrFile + "`'");
+ "' or edit it using 'jbang edit --open=[editor] "
+ scriptOrFile + "' where [editor] is your editor or IDE, e.g. '"
+ knowneditors[new Random().nextInt(knowneditors.length)] + "'");
}
return EXIT_OK;
}
Expand Down

0 comments on commit f15cd87

Please sign in to comment.