mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
Re-word help text
This commit is contained in:
parent
92785ac257
commit
cc0b982c5a
@ -11,16 +11,20 @@ module.exports = function parseCommandLine (processArgs) {
|
||||
dedent`Atom Editor v${version}
|
||||
|
||||
Usage:
|
||||
atom
|
||||
atom [options] [path ...]
|
||||
atom file[:line[:column]]
|
||||
|
||||
One or more paths to files or folders may be specified. If there is an
|
||||
existing Atom window that contains all of the given folders, the paths
|
||||
will be opened in that window. Otherwise, they will be opened in a new
|
||||
window.
|
||||
If no arguments are given and no Atom windows are already open, restore all windows
|
||||
from the previous editing session. Use "atom --new-window" to open a single empty
|
||||
Atom window instead.
|
||||
|
||||
A file may be opened at the desired line (and optionally column) by
|
||||
appending the numbers right after the file name, e.g. \`atom file:5:8\`.
|
||||
If no arguments are given and at least one Atom window is open, open a new, empty
|
||||
Atom window.
|
||||
|
||||
One or more paths to files or folders may be specified. All paths will be opened
|
||||
in a new Atom window. Each file may be opened at the desired line (and optionally
|
||||
column) by appending the numbers after the file name, e.g. \`atom file:5:8\`.
|
||||
|
||||
Paths that start with \`atom://\` will be interpreted as URLs.
|
||||
|
||||
@ -39,7 +43,7 @@ module.exports = function parseCommandLine (processArgs) {
|
||||
options.alias('f', 'foreground').boolean('f').describe('f', 'Keep the main process in the foreground.')
|
||||
options.alias('h', 'help').boolean('h').describe('h', 'Print this usage message.')
|
||||
options.alias('l', 'log-file').string('l').describe('l', 'Log all output to file.')
|
||||
options.alias('n', 'new-window').boolean('n').describe('n', 'Open a new window.')
|
||||
options.alias('n', 'new-window').boolean('n').describe('n', 'Launch an empty Atom window instead of restoring previous session.')
|
||||
options.boolean('profile-startup').describe('profile-startup', 'Create a profile of the startup execution time.')
|
||||
options.alias('r', 'resource-path').string('r').describe('r', 'Set the path to the Atom source directory and enable dev-mode.')
|
||||
options.boolean('safe').describe(
|
||||
|
Loading…
Reference in New Issue
Block a user