Package: sshm Version: 0.4-1 Severity: minor Tags: patch Attached is a patch for typos in the program ("occured", "you habe").
-- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (50, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20.1 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages sshm depends on: ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries ii libgcc1 1:4.1.1-21 GCC support library ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3 ii openssh-client 1:4.3p2-8 Secure shell client, an rlogin/rsh sshm recommends no packages. -- no debconf information
diff -puriN sshm-0.4.orig/src/Parameter.cpp sshm-0.4/src/Parameter.cpp --- sshm-0.4.orig/src/Parameter.cpp 2007-03-03 13:31:14 +0100 +++ sshm-0.4/src/Parameter.cpp 2007-03-12 14:27:14 +0100 @@ -24,11 +24,11 @@ int Parameter::help(char *exec){ cout << "Usage of " << exec << ":\n" << endl; cout << "\t--help\t\tDisplays the help." << endl; - cout << "\t--version\tDisplays the programversion." << endl; + cout << "\t--version\tDisplays the program version." << endl; cout << "\t--list\t\tLists all servers." << endl; cout << "\t--add\t\tAdds a server." << endl; cout << "\t--del [name]\tDeletes a server." << endl; - cout << "\t--show [name]\tShows informations about one given server." << endl; + cout << "\t--show [name]\tShows information about a given server." << endl; cout << "\nTo connect to a server, you only have to give the servername as an argument." << endl; cout << "\nNote: You can use all parameters in the format like \'-h\'." << endl; return EXIT_SUCCESS; @@ -69,10 +69,10 @@ int Parameter::add(){ cout << "\nServername: "; cin >> servername; if(Search::line(servername) != 0){ - cout << "\nError. This servername is already available, please choose another one." << endl; + cout << "\nError. This servername is already used, please choose another one." << endl; } else if(Check::valid(servername) == 0){ - cout << "\nError. The servername contains not allowed characters like \'#\'." << endl; + cout << "\nError. The servername contains unallowed characters such as \'#\'." << endl; } else { break; } @@ -86,7 +86,7 @@ int Parameter::add(){ if(Search::line(servername) != 0){ cout << "\nAdded server." << endl; } else { - cout << "\nAn error occured at adding the server." << endl; + cout << "\nAn error occurred while adding the server." << endl; } return EXIT_SUCCESS; @@ -94,7 +94,7 @@ int Parameter::add(){ int Parameter::del(char *todel){ if(!todel){ - cout << "You habe to define a servername to delete." << endl; + cout << "You have to define a servername to delete." << endl; return EXIT_SUCCESS; } else if(Search::line(todel) == 0){ @@ -104,7 +104,7 @@ int Parameter::del(char *todel){ else if(Action::del(todel) == 1){ cout << "Deleted the server." << endl; } else { - cout << "An error occured while deleting the entry." << endl; + cout << "An error occurred while deleting the entry." << endl; } return EXIT_SUCCESS; }