diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-10 10:53:50 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2008-12-10 10:53:50 +0100 |
commit | 040cd0f9338ce40a88ad690fc19f52cecf595d74 (patch) | |
tree | 4750eda642b2ae0d9751fe19b7b507562f379b9f /src | |
parent | 2f06e0ade3223c8087f5ad714a360ab3a761e05f (diff) |
datetime cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/core/libs/lib-ui.sh | 14 |
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 |