Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

login command now prints usage info when invoked with 0 arguments.

  • Loading branch information...
commit 0964b425c4b9f5a7f85d6ed3d931d2e2a5743f53 1 parent e434ca0
@Nadrin authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  README
  2. +1 −1  src/xlsh.c
View
1  README
@@ -9,6 +9,7 @@ Features:
* Small and simple, written entirely in C.
* Easily hackable because of compact codebase (~1000 source lines).
* Uses PAM for authorization and session management.
+ * Ability to select non-default shell/window manager during logon.
* Entirely keyboard driven display manager replacement (when used with xlshd)
without the need for any fat libraries or GUI toolkits.
* Defaults configured before compilation, some of them can be changed by
View
2  src/xlsh.c
@@ -95,7 +95,7 @@ int xlsh_func_login(int argc, char** argv)
char* arg_shell = argc>=3?argv[2]:NULL;
if(!arg_user) {
- fprintf(stderr, "No username specified\n");
+ fprintf(stderr, "usage: %s <username> [shell/wm]\n", argv[0]);
return XLSH_EARG;
}
Please sign in to comment.
Something went wrong with that request. Please try again.