[run] fix missing doxygen and add explanation.

This commit is contained in:
Qball Cow 2024-02-28 00:54:23 +01:00
parent ee1b68aea6
commit f2c0f75fd2
1 changed files with 3 additions and 0 deletions

View File

@ -91,8 +91,11 @@ typedef struct {
/**
* @param cmd The cmd to execute
* @param run_in_term Indicate if command should be run in a terminal
* @param orig The cmd to store in history
*
* Execute command and add to history.
* Exact entries should be stored unquoted any custom or with filename
* should be saved in history quoted.
*/
static gboolean exec_cmd(const char *cmd, int run_in_term, const char *orig) {
GError *error = NULL;