diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-05-21 14:52:28 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-05-21 14:54:44 +0200 |
commit | 30652436efbaacfcbb9a507c23502b9d07a596de (patch) | |
tree | 2f6d6689b230552b2689c9f835f36cc78a289e12 /staging | |
parent | 96c7189548e13f0bbcdbf43811a5df1465c4e6d3 (diff) |
mausezahn: do not show version in prompt
Do not show the old mausezahn version in the prompt, since
we use a different versioning scheme.
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'staging')
-rw-r--r-- | staging/cli.c | 2 | ||||
-rw-r--r-- | staging/cli.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/staging/cli.c b/staging/cli.c index b74d688..409b2ec 100644 --- a/staging/cli.c +++ b/staging/cli.c @@ -211,7 +211,7 @@ int cli() gcli = cli; // Set the hostname (shown in the the prompt) - cli_set_hostname(cli, MZ_PROMPT); + cli_set_hostname(cli, "mz"); // Set the greeting cli_set_banner(cli, "mausezahn " VERSION_STRING); diff --git a/staging/cli.h b/staging/cli.h index 6c6cccb..c69caa8 100644 --- a/staging/cli.h +++ b/staging/cli.h @@ -48,8 +48,6 @@ #define MZ_MODE_INTERFACE 1200 #define MZ_MODE_SEQUENCE 1300 -#define MZ_PROMPT "mz-" MAUSEZAHN_VERSION_SHORT - #define MZ_DEFAULT_USERNAME "mz" #define MZ_DEFAULT_PASSWORD "mz" #define MZ_DEFAULT_ENABLE_PASSWORD "mops" |