diff options
author | lbsa71 | 2007-04-11 20:07:58 +0000 |
---|---|---|
committer | lbsa71 | 2007-04-11 20:07:58 +0000 |
commit | 1a28ef6292a152a69d0f53803daacc7dad522cea (patch) | |
tree | 3d4e2eed288b208f1d0db7d37e8f1d9a1dfca1c5 /OpenSim.Framework.Console | |
parent | * cleaning (diff) | |
download | opensim-SC-1a28ef6292a152a69d0f53803daacc7dad522cea.zip opensim-SC-1a28ef6292a152a69d0f53803daacc7dad522cea.tar.gz opensim-SC-1a28ef6292a152a69d0f53803daacc7dad522cea.tar.bz2 opensim-SC-1a28ef6292a152a69d0f53803daacc7dad522cea.tar.xz |
* Replaced GridHTTPServer and UserHTTPServer with BaseHttpServer
* Now dumping default value in config.
*
Diffstat (limited to 'OpenSim.Framework.Console')
-rw-r--r-- | OpenSim.Framework.Console/ConsoleBase.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim.Framework.Console/ConsoleBase.cs b/OpenSim.Framework.Console/ConsoleBase.cs index e2e4457..89c751f 100644 --- a/OpenSim.Framework.Console/ConsoleBase.cs +++ b/OpenSim.Framework.Console/ConsoleBase.cs | |||
@@ -84,14 +84,14 @@ namespace OpenSim.Framework.Console | |||
84 | // Displays a command prompt and waits for the user to enter a string, then returns that string | 84 | // Displays a command prompt and waits for the user to enter a string, then returns that string |
85 | public string CmdPrompt(string prompt) | 85 | public string CmdPrompt(string prompt) |
86 | { | 86 | { |
87 | this.Write(prompt); | 87 | this.Write(String.Format("{0}: ", prompt)); |
88 | return this.ReadLine(); | 88 | return this.ReadLine(); |
89 | } | 89 | } |
90 | 90 | ||
91 | // Displays a command prompt and returns a default value if the user simply presses enter | 91 | // Displays a command prompt and returns a default value if the user simply presses enter |
92 | public string CmdPrompt(string prompt, string defaultresponse) | 92 | public string CmdPrompt(string prompt, string defaultresponse) |
93 | { | 93 | { |
94 | string temp = CmdPrompt(prompt); | 94 | string temp = CmdPrompt(String.Format( "{0} [{1}]", prompt, defaultresponse )); |
95 | if (temp == "") | 95 | if (temp == "") |
96 | { | 96 | { |
97 | return defaultresponse; | 97 | return defaultresponse; |