From 154fe4006ff9b24a3a1d409c67aa227e28476a2b Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 22 Aug 2014 10:22:32 -0700 Subject: [PATCH] :memo: Doc file/folder path behavior in usage message --- src/browser/main.coffee | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/browser/main.coffee b/src/browser/main.coffee index 7d6d372e3..8955ab0a7 100644 --- a/src/browser/main.coffee +++ b/src/browser/main.coffee @@ -63,7 +63,14 @@ parseCommandLine = -> options.usage """ Atom Editor v#{version} - Usage: atom [options] [file ...] + Usage: atom [options] [path ...] + + One or more paths to files or folders to open may be specified. + + File paths will open in the current window. + + Folder paths will open in an existing window if that folder has already been + opened or a new window if it hasn't. """ options.alias('d', 'dev').boolean('d').describe('d', 'Run in development mode.') options.alias('f', 'foreground').boolean('f').describe('f', 'Keep the browser process in the foreground.')