blob: 2b85b1ba6bbf376f6946a0a3c53696b5e44a73c1 (
plain)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
$NetBSD: patch-ae,v 1.1 2004/01/02 16:17:40 cjep Exp $
--- rnmp3.c.orig 2000-01-14 13:55:56.000000000 +0000
+++ rnmp3.c 2004-01-02 16:06:58.000000000 +0000
@@ -256,26 +256,25 @@
void usage()
{
- printf("rnmp3 %s:
-
-Usage - pipe names into rnmp3. (\"find | rnmp3 args\")
- If first parameter starts with -, the following string will be removed
- from all names if they exist (enclose spaces with \"\")
- If any other commands are entered, commands will not be executed,
- just printed
-
- rnmp3 Rename
- rnmp3 test Don't rename, just show changes
- rnmp3 -\"string\" Rename after removing \"string\"
- rnmp3 -\"string\" test Don't rename after removing \"string\"
- rnmp3 --test test Rename after removing \"-test\"
-
- Before - \"1-This is my (file name) man.mp3\"
- After - \"01-ThisIsMy-FileName-Man.mp3\"
-
-Suggested uses:
- find . | rnmp3
- find . -type f | rnmp3\n", VERSION);
+ printf("rnmp3 %s:\n\n", VERSION);
+ printf("Usage - pipe names into rnmp3. (\"find | rnmp3 args\")\n");
+ printf(" If first parameter starts with -, the following string will be removed\n");
+ printf(" from all names if they exist (enclose spaces with \"\")\n");
+ printf(" If any other commands are entered, commands will not be executed,\n");
+ printf(" just printed\n\n");
+
+ printf(" rnmp3 Rename\n");
+ printf(" rnmp3 test Don't rename, just show changes\n");
+ printf(" rnmp3 -\"string\" Rename after removing \"string\"\n");
+ printf(" rnmp3 -\"string\" test Don't rename after removing \"string\"\n");
+ printf(" rnmp3 --test test Rename after removing \"-test\"\n\n");
+
+ printf(" Before - \"1-This is my (file name) man.mp3\"\n");
+ printf(" After - \"01-ThisIsMy-FileName-Man.mp3\"\n\n");
+
+ printf("Suggested uses:\n");
+ printf(" find . | rnmp3\n");
+ printf(" find . -type f | rnmp3\n");
exit(0);
}
|