forked from extern/nushell
Reinstate -a short form of save --append (#6575)
Present before engine-q merge (e.g.
265ee1281d
) 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…
Reference in New Issue
Block a user