aboutsummaryrefslogtreecommitdiff
path: root/dtc.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-24 18:04:43 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2013-05-24 18:20:53 +1000
commitb9e80656f2de441826ed2ff1cd9c5d43b3ae43d3 (patch)
treed0f093d618038577d98fcd463e4b4e7b639ebc60 /dtc.c
parent03449b84c8f9aee2bf2f438bec2c2ec4606bea48 (diff)
downloaddtc-b9e80656f2de441826ed2ff1cd9c5d43b3ae43d3.tar.gz
util: drop "long" from usage helpers
Now that all utils have converted to the new usage framework, we can rename to just plain "usage()" and avoid naming conflicts. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.c')
-rw-r--r--dtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtc.c b/dtc.c
index d0a1f2d..e3c9653 100644
--- a/dtc.c
+++ b/dtc.c
@@ -186,14 +186,14 @@ int main(int argc, char *argv[])
break;
case 'h':
- long_usage(NULL);
+ usage(NULL);
default:
- long_usage("unknown option");
+ usage("unknown option");
}
}
if (argc > (optind+1))
- long_usage("missing files");
+ usage("missing files");
else if (argc < (optind+1))
arg = "-";
else