diff --git a/src/modules/efs_shell_commands/ln.py b/src/modules/efs_shell_commands/ln.py index 5799331..9c7bda8 100644 --- a/src/modules/efs_shell_commands/ln.py +++ b/src/modules/efs_shell_commands/ln.py @@ -21,8 +21,8 @@ def get_argument_parser(self, subparsers_object : _SubParsersAction) -> Argument argument_parser = subparsers_object.add_parser('ln', description = "Create an UNIX symbolic link across the remote EFS.") - argument_parser.add_argument('remote_newlink') argument_parser.add_argument('remote_target') + argument_parser.add_argument('remote_newlink') return argument_parser @@ -33,8 +33,8 @@ def execute_command(self, diag_input, args : Namespace): opcode, payload = diag_input.send_recv(DIAG_SUBSYS_CMD_F, pack(' Argument def execute_command(self, diag_input, args : Namespace): - # First, emit a stat() (EFS2_DIAG_STAT) call in order to understand whether - # the remote path input by the user is a directory or not + # First, emit an lstat() (EFS2_DIAG_LSTAT) call in order to understand + # whether the remote path input by the user is a directory or not is_directory : bool = False opcode, payload = diag_input.send_recv(DIAG_SUBSYS_CMD_F, pack('