summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQball Cow <qball@blame.services>2024-02-28 00:54:23 +0100
committerQball Cow <qball@blame.services>2024-02-28 00:54:23 +0100
commitf2c0f75fd2faa656f0fe34df5029e0f4e6f445fc (patch)
tree5d66729461d7b3ca7acfb06c68aeebd22d0a473c
parentee1b68aea63ea890e6632b248f59198853cc4b55 (diff)
[run] fix missing doxygen and add explanation.
-rw-r--r--source/modes/run.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/modes/run.c b/source/modes/run.c
index 1472a094..8af09746 100644
--- a/source/modes/run.c
+++ b/source/modes/run.c
@@ -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;