From 43b1028f00e28401533ef583ce8bbf5255f5753d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 25 Apr 2014 00:26:24 +0800 Subject: [PATCH] Completed the usage screen --- src/strings.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/strings.c b/src/strings.c index 0ee5bd6..eeef442 100644 --- a/src/strings.c +++ b/src/strings.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2009 Pierre Pronchery */ +/* Copyright (c) 2004-2014 Pierre Pronchery */ /* This file is part of DeforaOS Unix utils */ /* 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 @@ -96,11 +96,10 @@ static void _strings_do(int flgn, FILE * fp) /* usage */ static int _usage(void) { - /* FIXME */ - fputs("Usage: strings [-a][-t format][-n number][file...]\n\ - -a \n\ - -t \n\ - -n \n", stderr); + fputs("Usage: strings [-a][-t format][-n number][file...]\n" +" -a Scan files in their entirety\n" +" -t Precede each string with its byte offset (\"d\", \"o\" or \"h\")\n" +" -n Minimum string length\n", stderr); return 1; }