2
\file lib/manage/show_elem.c
4
\brief Manage Library - Show elements
6
(C) 2001-2011 by the GRASS Development Team
8
This program is free software under the GNU General Public License
9
(>=v2). Read the file COPYING that comes with GRASS for details.
11
\author Original author CERL
17
#include "manage_local_proto.h"
20
\brief Print element name/desc to stdout
22
void M_show_elements(void)
28
for (n = 0; n < nlist; n++)
29
if (strlen(list[n].alias) > len)
30
len = strlen(list[n].alias);
31
for (n = 0; n < nlist; n++)
32
fprintf(stdout, " %-*s (%s)\n", len, list[n].alias, list[n].text);