File: fix_source_code

package info (click to toggle)
bindechexascii 0.0%2B20140524.git7dcd86-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 144 kB
  • ctags: 23
  • sloc: ansic: 565; makefile: 28
file content (25 lines) | stat: -rw-r--r-- 994 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Change the name of the program to bindechexascii and remove
             the other options fields shown in help.
Author: Marcio de Souza Oliveira <m.desouza20@gmail.com>
Last-Update: 2014-05-26
Index: bindechexascii-0.0+20140524.git7dcd86/conv.c
===================================================================
--- bindechexascii-0.0+20140524.git7dcd86.orig/conv.c
+++ bindechexascii-0.0+20140524.git7dcd86/conv.c
@@ -26,7 +26,7 @@
 
 void print_usage()
 {
-	puts("\nUsage: conv [mode] arg1 arg2 arg3 ...\n");
+	puts("\nUsage: bindechexascii [mode] arg1 arg2 arg3 ...\n");
 	puts("Convert:");
 	puts("\x20--b2d     Binary to decimal");
 	puts("\x20--b2h     Binary to hexadecimal");
@@ -40,7 +40,6 @@ void print_usage()
 	puts("\x20--a2b     ASCII to binary");
 	puts("\x20--a2d     ASCII to decimal");
 	puts("\x20--a2h     ASCII to hexadecimal\n");
-	puts("Other:");
 	puts("\x20-h --help    Print this help");
 	puts("\x20-i --info    Print information about program\n");
 }