Subversion Repositories SvarDOS

Rev

Rev 269 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 269 Rev 272
Line 47... Line 47...
47
  ACTION_HELP
47
  ACTION_HELP
48
};
48
};
49
 
49
 
50
 
50
 
51
static int showhelp(void) {
51
static int showhelp(void) {
52
  printf("PKG ver " PVER " Copyright (C) " PDATE " Mateusz Viste\n"
52
  puts("PKG ver " PVER " Copyright (C) " PDATE " Mateusz Viste");
53
         "\n"
53
  puts("");
54
         "PKG is the package installer for SvarDOS.\n"
54
  kitten_puts(1, 0, "PKG is the package installer for SvarDOS.");
55
         "\n"
55
  puts("");
56
         "Usage: pkg install package.zip\n"
56
  kitten_puts(1, 20, "Usage: pkg install package.zip");
57
         "       pkg update package.zip\n"
57
  kitten_puts(1, 21, "       pkg update package.zip");
58
         "       pkg remove package\n"
58
  kitten_puts(1, 22, "       pkg remove package");
59
         "       pkg listfiles package\n"
59
  kitten_puts(1, 23, "       pkg listfiles package");
60
         "       pkg listlocal [filter]\n"
60
  kitten_puts(1, 24, "       pkg listlocal [filter]");
61
         "\n"
61
  puts("");
62
         "PKG is published under the MIT license. It uses a configuration file\n"
62
  kitten_puts(1, 25, "PKG is published under the MIT license.");
63
         "located at %%DOSDIR%%\\CFG\\PKG.CFG\n"
63
  kitten_puts(1, 26, "It is configured through %DOSDIR%\\CFG\\PKG.CFG");
64
         );
-
 
65
  return(1);
64
  return(1);
66
}
65
}
67
 
66
 
68
 
67
 
69
static enum ACTIONTYPES parsearg(int argc, char * const *argv) {
68
static enum ACTIONTYPES parsearg(int argc, char * const *argv) {