aboutsummaryrefslogtreecommitdiff
path: root/Src/external_dependencies/openmpt-trunk/include/lhasa/src/args.txt
blob: e66baf04fc0f6ccc060042860638327f481c335c (plain) (blame)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

Notes on command line arguments:

Mode - must be the first character of the first argument. Leading '-'
is ignored:

  e/x       - Extract
  l/v       - List (normal / verbose mode)
  t         - Test CRC
  p         - Print files to STDOUT

Options - flags following the mode character. Options are accepted
even if they are inappropriate for the mode, eg. "lha lf".

  q[level]  - Quiet mode. Normal running is quiet level 0.

              in list mode, quiet level 2 strips header/footer from
              listing.

              in extract mode, overwrite is always performed, and:
              - at quiet level 1, the 'progress bar' is not shown.
              - at quiet level 2, no messages are printed at all.

              in test mode, behavior is similar to extract mode, but
              level 2 behavior is similar to level 0.

              in print mode, at quiet level 2 the filename is not
              printed before the file contents.

              all quiet modes imply 'f', disabling overwrite without
              confirmation.

  f         - Force overwrite. When extracting, existing files are
              overwritten with no confirmation.

  n         - Don't execute commands, just do a dry run of what would
              be done.

              eg. for lha en:

                      EXTRACT lhasa/src/ (directory)
                      EXTRACT lhasa/src/extract.c
                      EXTRACT lhasa/src/extract.c but file is exist.

              eg. for lha tn:

                      VERIFY lhasa/src/main.c

  i         - Ignore directory path. When extracting, the directory
              of each file is ignored - they are all extracted into
              the same directory.

              Also applies to test mode - the output filename of the
              tested file does not include the directory.

              In print mode, the path is not printed in the header
              before each file.

  v         - Verbose mode, prints extra information.

              in list mode, verbose mode splits the filename onto a
              separate preceding line and the header level is shown
              in its normal place.

              in extract mode, verbose mode prints a message when
              creating a directory. If creating missing parent directories,
              they are printed in reverse order, eg.

                      Making directory "lhasa/src".
                      Making directory "lhasa".
                      lhasa/src/main.c        - Melted   :  o

  w=dir     - Specify destination directory to extract files. Must be
              the last option specified. '=' can be omitted. If combined
              with 'i', all files get placed in that one directory.