stty: fix columns command. closes bug 791.
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Dec 2009 13:17:02 +0000 (14:17 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Dec 2009 13:17:02 +0000 (14:17 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/stty.c

index 0485b8011b0573ef49f93ff3637c2945d55b6e3c..776a16a765a198ffa0814e464aebb7fe93b7b766 100644 (file)
@@ -1360,6 +1360,7 @@ int stty_main(int argc UNUSED_PARAM, char **argv)
 #endif
 #ifdef TIOCGWINSZ
                case param_cols:
+               case param_columns:
                        set_window_size(-1, xatoul_sfx(argnext, stty_suffixes));
                        break;
                case param_size: