diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 13:02:31 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-27 13:02:31 +0400 |
commit | d3d004dd3507f841745956a035fff68936378f9c (patch) | |
tree | 139fa79a102d11dbab9828d2649c119245b196b1 /coreutils/sort.c | |
parent | 1340ca8c87d81bf00e604905f25bc04da22e980f (diff) |
last nail into error_msg() (de)capitalization
Diffstat (limited to 'coreutils/sort.c')
-rw-r--r-- | coreutils/sort.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/sort.c b/coreutils/sort.c index 972477bab..1ba05ecd7 100644 --- a/coreutils/sort.c +++ b/coreutils/sort.c @@ -153,7 +153,7 @@ static int compare_keys(const void *xarg, const void *yarg) /* Perform actual comparison */ switch(flags&7) { default: - bb_error_msg_and_die("Unknown sort type."); + bb_error_msg_and_die("unknown sort type"); break; /* Ascii sort */ case 0: @@ -233,12 +233,12 @@ int sort_main(int argc, char **argv) switch(*line) { #ifdef CONFIG_FEATURE_SORT_BIG case 'o': - if(outfile) bb_error_msg_and_die("Too many -o."); + if(outfile) bb_error_msg_and_die("too many -o"); outfile=xfopen(optarg,"w"); break; case 't': if(key_separator || optarg[1]) - bb_error_msg_and_die("Too many -t."); + bb_error_msg_and_die("too many -t"); key_separator=*optarg; break; /* parse sort key */ @@ -262,7 +262,7 @@ int sort_main(int argc, char **argv) temp2=strchr(optlist,*temp); flag=(1<<(temp2-optlist)); if(!temp2 || (flag>FLAG_M && flag<FLAG_b)) - bb_error_msg_and_die("Unknown key option."); + bb_error_msg_and_die("unknown key option"); /* b after , means strip _trailing_ space */ if(i && flag==FLAG_b) flag=FLAG_bb; key->flags|=flag; |