summaryrefslogtreecommitdiff
path: root/src/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.c')
-rw-r--r--src/commands.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c
index 64ea3e3..5418adc 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -59,6 +59,15 @@ int com_ls( char *arg )
return( system( syscom ) );
}
+int com_id( char *arg )
+{
+ if( !valid_argument( "id", arg ) )
+ return( 1 );
+
+ sprintf (syscom, "id %s", arg);
+ return( system( syscom ) );
+}
+
int com_more( char *arg )
{
if( !valid_argument( "more", arg ) )