usage.c 1.3 KB

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