Completed the usage screen

This commit is contained in:
Pierre Pronchery 2014-04-25 00:26:24 +08:00
parent 0342e8db6e
commit 43b1028f00

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2004-2014 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Unix utils */ /* This file is part of DeforaOS Unix utils */
/* This program is free software: you can redistribute it and/or modify /* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -96,11 +96,10 @@ static void _strings_do(int flgn, FILE * fp)
/* usage */ /* usage */
static int _usage(void) static int _usage(void)
{ {
/* FIXME */ fputs("Usage: strings [-a][-t format][-n number][file...]\n"
fputs("Usage: strings [-a][-t format][-n number][file...]\n\ " -a Scan files in their entirety\n"
-a \n\ " -t Precede each string with its byte offset (\"d\", \"o\" or \"h\")\n"
-t \n\ " -n Minimum string length\n", stderr);
-n \n", stderr);
return 1; return 1;
} }