~ubuntu-branches/ubuntu/precise/grass/precise

« back to all changes in this revision

Viewing changes to raster/r.timestamp/main.c

  • Committer: Bazaar Package Importer
  • Author(s): Francesco Paolo Lovergine
  • Date: 2011-04-13 17:08:41 UTC
  • mfrom: (8.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110413170841-ss1t9bic0d0uq0gz
Tags: 6.4.1-1
* New upstream version.
* Now build-dep on libjpeg-dev and current libreadline6-dev.
* Removed patch swig: obsolete.
* Policy bumped to 3.9.2, without changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *               Glynn Clements <glynn gclements.plus.com>,
8
8
 *               Hamish Bowman <hamish_nospam yahoo.com>, Jan-Oliver Wagner <jan intevation.de>
9
9
 * PURPOSE:      
10
 
 * COPYRIGHT:    (C) 1999-2006 by the GRASS Development Team
 
10
 * COPYRIGHT:    (C) 1999-2006, 2010 by the GRASS Development Team
11
11
 *
12
12
 *               This program is free software under the GNU General Public
13
13
 *               License (>=v2). Read the file COPYING that comes with GRASS
32
32
    G_gisinit(argv[0]);
33
33
 
34
34
    module = G_define_module();
35
 
    module->keywords = _("raster");
 
35
    module->keywords = _("raster, metadata, timestamp");
 
36
    module->label = _("Modifies a timestamp for a raster map.");
36
37
    module->description = _("Print/add/remove a timestamp for a raster map.");
37
38
 
38
39
    map = G_define_standard_option(G_OPT_R_MAP);
42
43
    date->key_desc = "timestamp";
43
44
    date->required = NO;
44
45
    date->type = TYPE_STRING;
45
 
    date->description = _("Datetime, datetime1/datetime2, or none");
46
 
 
 
46
    date->label = _("Datetime, datetime1/datetime2, or 'none' to remove");
 
47
    date->description = _("Format: '15 jan 1994' (absolute) or '2 years' (relative)");
 
48
    
47
49
    if (G_parser(argc, argv))
48
50
        exit(EXIT_FAILURE);
49
51