~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to raster/r.watershed/seg/usage.c

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdlib.h>
1
2
#include <stdio.h>
2
 
#include <stdlib.h>
3
3
#include <grass/gis.h>
4
4
#include <grass/glocale.h>
5
5
 
6
6
 
7
7
void usage(char *me)
8
8
{
9
 
    G_fatal_error(_("USAGE for basin delineation:\n%s -4 el=elevation_map "
10
 
                    "t=swale_threshold [ov=overland_flow_map] [dr=drain_direction_map] "
11
 
                    "[de=depression_map] [ac=accumulation_map] [di=display_map] "
12
 
                    "ba=watershed_basin_map [se=stream_segment_map]\n\nUSAGE for "
13
 
                    "ARMSED FILE creation:\n%s [-4] el=elevation_map "
14
 
                    "t=swale_threshold [ov=overland_flow_map] [dr=drain_direction_map] "
15
 
                    "[de=depression_map] [ac=accumulation_map] [di=display_map] "
16
 
                    "[ba=watershed_basin_map] [se=stream_segment_map] "
17
 
                    "ha=half_basin_map ar=ARMSED_file_name\n\nUSAGE for slope "
18
 
                    "length determination:\n%s [-4] el=elevation_map "
19
 
                    "t=swale_threshold [dr=drain_direction_map] "
20
 
                    "[de=depression_map] [ac=accumulation_map] [di=display_map] "
21
 
                    "[ms=max_slope_length] [ob=overland_blocking_map] "
22
 
                    "[S=slope_steepness_map] LS=length_slope_map "
23
 
                    "[r=rill_erosion_map] [sd=slope_deposition value or map]"),
24
 
                  me, me, me);
 
9
    G_fatal_error(_("USAGE for basin delineation:\n%s -4 elevation=elevation_map "
 
10
                    "threshold=swale_threshold [flow=overland_flow_map] "
 
11
                    "[drainage=drain_direction_map] [depression=depression_map] "
 
12
                    "[accumulation=accumulation_map] [basin=watershed_basin_map] "
 
13
                    "[stream=stream_segment_map]\n\n"
 
14
                    "USAGE for slope length determination:\n%s [-4] "
 
15
                    "elevation=elevation_map threshold=swale_threshold "
 
16
                    "[drainage=drain_direction_map] [depression=depression_map] "
 
17
                    "[accumulation=accumulation_map] [max_slope_length=max_slope_length] "
 
18
                    "[blocking=overland_blocking_map] [slope_steepness=slope_steepness_map] "
 
19
                    "length_slope=length_slope_map [disturbed_land=rill_erosion_map] "
 
20
                    "[slope_deposition=slope_deposition value or map]"
 
21
                    "USAGE for ARMSED FILE creation:\n%s [-4] elevation=elevation_map "
 
22
                    "threshold=swale_threshold [flow=overland_flow_map] "
 
23
                    "[drainage=drain_direction_map] [depression=depression_map] "
 
24
                    "[accumulation=accumulation_map] [basin=watershed_basin_map] "
 
25
                    "[stream=stream_segment_map] [half_basin=half_basin_map] "
 
26
                    "ar=ARMSED_file_name\n\n"), me, me, me);
25
27
}