Changeset 1585
- Timestamp:
- Mar 24, 2007, 9:23:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/main.c
r1515 r1585 265 265 { NULL, 0, NULL, 0 } 266 266 }; 267 int opt; 267 int opt; 268 const char * name; 268 269 269 270 *sendquit = FALSE; … … 271 272 272 273 gtk_parse_args( &argc, &argv ); 274 name = g_get_prgname(); 273 275 274 276 while( 0 <= ( opt = getopt_long( argc, argv, "hpqv", opts, NULL ) ) ) … … 285 287 case 'h': 286 288 printf( 287 _("usage: % 1$s [-hpq] [files...]\n"289 _("usage: %s [-hpq] [files...]\n" 288 290 "\n" 289 "Transmission % 2$s (r%3$d) http://transmission.m0k.org/\n"291 "Transmission %s (r%d) http://transmission.m0k.org/\n" 290 292 "A free, lightweight BitTorrent client with a simple, intuitive interface\n" 291 293 "\n" 292 294 " -h --help display this message and exit\n" 293 295 " -p --paused start with all torrents paused\n" 294 " -q --quit request that the running % 1$s instance quit\n"296 " -q --quit request that the running %s instance quit\n" 295 297 "\n" 296 "Only one instance of % 1$s may run at one time. Multiple\n"298 "Only one instance of %s may run at one time. Multiple\n" 297 299 "torrent files may be loaded at startup by adding them to the command\n" 298 "line. If % 1$s is already running, those torrents will be\n"300 "line. If %s is already running, those torrents will be\n" 299 301 "opened in the running instance.\n"), 300 g_get_prgname(), VERSION_STRING, VERSION_REVISION ); 302 name, VERSION_STRING, VERSION_REVISION, 303 name, name, name ); 301 304 exit(0); 302 305 break;
Note: See TracChangeset
for help on using the changeset viewer.