mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
add login shell flag (#4175)
This commit is contained in:
@ -15,6 +15,7 @@ impl WholeStreamCommand for Command {
|
||||
.switch("skip-plugins", "do not load plugins", None)
|
||||
.switch("no-history", "don't save history", None)
|
||||
.switch("perf", "show startup performance metrics", None)
|
||||
.switch("login", "start Nu as if it was a login shell", Some('l'))
|
||||
.named(
|
||||
"commands",
|
||||
SyntaxShape::String,
|
||||
@ -33,7 +34,7 @@ impl WholeStreamCommand for Command {
|
||||
"loglevel",
|
||||
SyntaxShape::String,
|
||||
"LEVEL: error, warn, info, debug, trace",
|
||||
Some('l'),
|
||||
None,
|
||||
)
|
||||
.named(
|
||||
"config-file",
|
||||
|
Reference in New Issue
Block a user