summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-ui.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/libs/lib-ui.sh b/src/core/libs/lib-ui.sh
index ae2acbc..ccbd909 100644
--- a/src/core/libs/lib-ui.sh
+++ b/src/core/libs/lib-ui.sh
@@ -425,6 +425,13 @@ _cli_ask_checklist ()
}
+_cli_ask_datetime ()
+{
+ ask_string "Enter date [YYYY-MM-DD hh:mm:ss]"
+ ANSWER_DATETIME=$ANSWER_STRING
+}
+
+
_cli_ask_number ()
{
#TODO: i'm not entirely sure this works perfectly. what if user doesnt give anything or wants to abort?
@@ -450,13 +457,6 @@ _cli_ask_number ()
}
-_cli_ask_datetime ()
-{
- ask_string "Enter date [YYYY-MM-DD hh:mm:ss]"
- ANSWER_DATETIME=$ANSWER_STRING
-}
-
-
_cli_ask_option ()
{
#TODO: strip out color codes