Index: trunk/doc/user/09_appendix/action_details.html =================================================================== --- trunk/doc/user/09_appendix/action_details.html (revision 20637) +++ trunk/doc/user/09_appendix/action_details.html (revision 20638) @@ -1132,6 +1132,10 @@ puller action is a special-purpose optimization. When invoked while the crosshair is over the junction of an arc and a line, it will adjust the arc's angle and the connecting line's endpoint such that the line intersects the arc at a tangent. +

q

+

+If you have unsaved changes, you will be prompted to confirm (or save) before quitting, unless the action name included a !. +

quit

If you have unsaved changes, you will be prompted to confirm (or save) before quitting. Index: trunk/doc/user/09_appendix/action_src/q.html =================================================================== --- trunk/doc/user/09_appendix/action_src/q.html (nonexistent) +++ trunk/doc/user/09_appendix/action_src/q.html (revision 20638) @@ -0,0 +1,2 @@ +If you have unsaved changes, you will be prompted to confirm (or +save) before quitting, unless the action name included a !. Index: trunk/src_plugins/shand_cmd/command.c =================================================================== --- trunk/src_plugins/shand_cmd/command.c (revision 20637) +++ trunk/src_plugins/shand_cmd/command.c (revision 20638) @@ -135,16 +135,7 @@ static const char pcb_acts_Quit[] = "q"; static const char pcb_acth_Quit[] = "Quits the application after confirming."; - -/* %start-doc actions q - -If you have unsaved changes, you will be prompted to confirm (or -save) before quitting. - -@colonaction - -%end-doc */ - +/* DOC: q.html */ static fgw_error_t pcb_act_Quit(fgw_arg_t *res, int argc, fgw_arg_t *argv) { if (!PCB->Changed || pcb_gui->close_confirm_dialog() == HID_CLOSE_CONFIRM_OK) @@ -155,16 +146,7 @@ static const char pcb_acts_ReallyQuit[] = "q!"; static const char pcb_acth_ReallyQuit[] = "Quits the application without confirming."; - -/* %start-doc actions q! - -Note that this command neither saves your data nor prompts for -confirmation. - -@colonaction - -%end-doc */ - +/* DOC: q.html */ static fgw_error_t pcb_act_ReallyQuit(fgw_arg_t *res, int argc, fgw_arg_t *argv) { pcb_quit_app();