diff --git a/crates/nu-command/src/filesystem/mv.rs b/crates/nu-command/src/filesystem/mv.rs index 3b909cb0fe..b3d9ec2f07 100644 --- a/crates/nu-command/src/filesystem/mv.rs +++ b/crates/nu-command/src/filesystem/mv.rs @@ -19,26 +19,16 @@ impl Command for Mv { fn signature(&self) -> nu_protocol::Signature { Signature::build("mv") - .optional( + .required( "source", SyntaxShape::GlobPattern, "the location to move files/directories from", ) - .optional( + .required( "destination", SyntaxShape::FilePath, "the location to move files/directories to", ) - // .required( - // "source", - // SyntaxShape::GlobPattern, - // "the location to move files/directories from", - // ) - // .required( - // "destination", - // SyntaxShape::FilePath, - // "the location to move files/directories to", - // ) } fn run(