summaryrefslogtreecommitdiff
path: root/muggle-plugin/muggle.c
diff options
context:
space:
mode:
authorwr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b>2005-03-09 20:22:57 +0000
committerwr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b>2005-03-09 20:22:57 +0000
commitd617fc5cf7d1ccedbac66eb1b7ac9832c6ec8e40 (patch)
treec7128dcbd9e9566baf86494eeb6aba15be6fb8a3 /muggle-plugin/muggle.c
parenta09d656b90c2355ebf2a38bfaf036a3e1defa1ee (diff)
downloadvdr-plugin-muggle-d617fc5cf7d1ccedbac66eb1b7ac9832c6ec8e40.tar.gz
vdr-plugin-muggle-d617fc5cf7d1ccedbac66eb1b7ac9832c6ec8e40.tar.bz2
muggle startup: debug output shows all arguments
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/branches/0.1.4-wr@561 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/muggle.c')
-rw-r--r--muggle-plugin/muggle.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/muggle-plugin/muggle.c b/muggle-plugin/muggle.c
index d6bbcc7..9db07be 100644
--- a/muggle-plugin/muggle.c
+++ b/muggle-plugin/muggle.c
@@ -110,7 +110,15 @@ mgMuggle::CommandLineHelp (void)
bool mgMuggle::ProcessArgs (int argc, char *argv[])
{
mgSetDebugLevel (1);
- mgDebug (1, "mgMuggle::ProcessArgs");
+ char b[1000];
+ sprintf(b,"mgMuggle::ProcessArgs ");
+ for (int i=1;i<argc;i++)
+ {
+ if (strlen(b)+strlen(argv[i]+2)>1000) break;;
+ strcat(b," ");
+ strcat(b,argv[i]);
+ }
+ mgDebug(1,b);
// Implement command line argument processing here if applicable.
static struct option