Add ps(1) -w.

The COLUMNS variable is not used yet and the default semantics correctly
implement the -w option.
This commit is contained in:
Jonas 'Sortie' Termansen 2024-06-28 11:34:44 +00:00
parent 51027e79f2
commit e984bede96

View file

@ -161,6 +161,7 @@ int main(int argc, char* argv[])
//case 'U': break;
// TODO: -o or some better more standard design for this.
case 'v': show_memory = true; break;
case 'w': /* TODO: Support COLUMNS. */ break;
default:
fprintf(stderr, "%s: unknown option -- '%c'\n", argv0, c);
help(stderr, argv0);