cmd.c (most-5.1.0) | : | cmd.c (most-5.2.0) | ||
---|---|---|---|---|
/* | /* | |||
This file is part of MOST. | This file is part of MOST. | |||
Copyright (c) 1991, 1999, 2002, 2005-2018, 2019 John E. Davis | Copyright (c) 1991, 1999, 2002, 2005-2021, 2022 John E. Davis | |||
This program is free software; you can redistribute it and/or modify it | This program is free software; you can redistribute it and/or modify it | |||
under the terms of the GNU General Public License as published by the Free | under the terms of the GNU General Public License as published by the Free | |||
Software Foundation; either version 2 of the License, or (at your option) | Software Foundation; either version 2 of the License, or (at your option) | |||
any later version. | any later version. | |||
This program is distributed in the hope that it will be useful, but WITHOUT | This program is distributed in the hope that it will be useful, but WITHOUT | |||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | |||
more details. | more details. | |||
skipping to change at line 282 | skipping to change at line 282 | |||
break; | break; | |||
case 'O': | case 'O': | |||
most_toggle_options (); | most_toggle_options (); | |||
break; | break; | |||
case 'D': | case 'D': | |||
if (Most_D_Opt) | if (Most_D_Opt) | |||
{ | { | |||
most_delete_file_cmd (); | most_delete_file_cmd (); | |||
break; | break; | |||
} | } | |||
/* drop */ | /* fall through */ | |||
default: | default: | |||
most_message ("Invalid option.", 1); | most_message ("Invalid option.", 1); | |||
} | } | |||
} | } | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |