-
Niels Möller authored
client.c. (class lsh_options): Don't inherit client_options, its contents is moved here. (make_options): Moved initialization code from init_client_options. (add_action, prepend_action): New functions, moved from client.c. (make_client_session): New function, moved from client.c. (maybe_pty): New function, moved from client.c. (client_shell_session): Rewritten to use client_session_action. (client_subsystem_session): Likewise. (client_command_session): Likewise. (main_options): Copied options from client.c. (main_argp_children): Inherit werror_argp, not client_argp. (parse_arg_unsigned, parse_forward_arg): Moved from client.c. (CASE_ARG, CASE_FLAG): Updated, not member is no longer in super class. (main_argp_parser): Moved option parsing from client.c. (fork_lsh_transport): Updated to changes in lsh_options. (main): Updated to changes in lsh_options. Modify inhibit_actions flag around call to env_parse. Rev: src/lsh.c:1.211
cebfd9a8