mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 06:17:54 +02:00
Reinstate -a short form of save --append (#6575)
Present before engine-q merge (e.g. 265ee1281d810a569c7daddd02031f5c6991699e) but not included when --append was re-introduced at https://github.com/nushell/nushell/pull/4744.
This commit is contained in:
parent
5491634dda
commit
b086f34fa2
@ -36,7 +36,7 @@ impl Command for Save {
|
|||||||
Signature::build("save")
|
Signature::build("save")
|
||||||
.required("filename", SyntaxShape::Filepath, "the filename to use")
|
.required("filename", SyntaxShape::Filepath, "the filename to use")
|
||||||
.switch("raw", "save file as raw binary", Some('r'))
|
.switch("raw", "save file as raw binary", Some('r'))
|
||||||
.switch("append", "append input to the end of the file", None)
|
.switch("append", "append input to the end of the file", Some('a'))
|
||||||
.category(Category::FileSystem)
|
.category(Category::FileSystem)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user