Index: app/TODO
===================================================================
--- app/TODO	(revision aa9f1bc014165b0423a4ec714a5cc61edb1e5292)
+++ app/TODO	(revision df77b87018c36b8848d9856d2cf774d23600b66d)
@@ -16,2 +16,3 @@
 * Zadania zwiazane z rozbudowa ser (src/ser/TODO).
 * Nowa funkcjonalnoÅÄ dla kot? con? - kaÅŒde zdanie w nowym wierszu 
+* opcja info w dgp powinna miec domyslna wartosc d lub h
Index: app/dist/struktura.txt
===================================================================
--- app/dist/struktura.txt	(revision a5fdde96132cd61c3f2e6d56c426c96b741427c8)
+++ app/dist/struktura.txt	(revision df77b87018c36b8848d9856d2cf774d23600b66d)
@@ -27,4 +27,7 @@
 /usr/local/bin/uam.tag2re
 
+
+# R.D. sugeruje /etc/utt
+# lokalnie: ~/.utt lub (trendy) ~/.config/utt 
 /usr/local/etc/utt/con.conf
 /usr/local/etc/utt/cor.conf
@@ -54,8 +57,8 @@
 /usr/local/lib/utt/ser.l.template
 /usr/local/lib/utt/terms.m4
-/usr/local/lib/utt/weights.kor
-/usr/local/lib/utt/seg.rb
-/usr/local/lib/utt/cats.dgc
-/usr/local/lib/utt/gram.dgc
+/usr/local/lib/utt/weights.kor # -> share
+/usr/local/lib/utt/seg.rb # lok. ~/.local/lib/utt/seg.rb
+/usr/local/lib/utt/cats.dgc # -> share
+/usr/local/lib/utt/gram.dgc # -> share
 
 /usr/local/share/doc/utt/FAQ
Index: app/src/dgp/cmdline_dgp.ggo
===================================================================
--- app/src/dgp/cmdline_dgp.ggo	(revision 28e9ae0020002f67cf91ba795ab44945930c0e98)
+++ app/src/dgp/cmdline_dgp.ggo	(revision df77b87018c36b8848d9856d2cf774d23600b66d)
@@ -2,33 +2,9 @@
 version "0.1"
 
-#option  "process"	p	"Process segments with this tag."
-#				string no multiple
-
-#option  "select"	s	"Select only segments with this field. [Not implemented.]" 
-#				string no multiple
-
-#option  "ignore"	S	"Select only segments without this field. [Not implemented]" 
-#				string no multiple
-
-#option  "input"		f	"Input file"
-#				string typestr="filename" no
-
-#option  "output"	o	"Output file"
-#				string typestr="filename" no
-
-#option  "failed"	e	"Fail file"
-#				string typestr="filename" no
-
-#option  "copy"		c	"Copy unprocessed"
-#				flag off
-
 option	"grammar"	g	"Grammar file"
-				string typestr="filename" default="dgp.dg"
+				string typestr="filename" default="dgp.dgp"
 
 option  "long"		l	"Long output"
 				flag off
-
-#option  "interactive"	-	"Interactive use."
-#				flag off
 
 option  "debug"		d	"Debug mode."
@@ -40,3 +16,3 @@
 c - constraints	  n - node/arc counts	t - parse time
 "
-				string default="gh"
+string no default="h"
Index: app/src/dgp/main.cc
===================================================================
--- app/src/dgp/main.cc	(revision 13a8a67bce500a27f4c2121c096be175d5daab52)
+++ app/src/dgp/main.cc	(revision df77b87018c36b8848d9856d2cf774d23600b66d)
@@ -35,15 +35,19 @@
   gengetopt_args_info args;
 
-  if(cmdline_parser(argc,argv,&args) != 0) exit(1);
+  if(cmdline_parser(argc,argv,&args) != 0)
+    exit(1);
 
-  if(args.help_given) cmdline_parser_print_help ();
+  process_config_files(&args,argv[0]);
+  process_common_options(&args,argv[0]);
 
-  if(args.input_given)
-    if(!(inputf=fopen(args.input_arg,"r")))
-      fprintf(stderr,"dgp: input file not found: %s.\n", args.input_arg), exit(1);
+//   if(args.help_given) cmdline_parser_print_help ();
 
-  if(args.output_given)
-    if(!(outputf=fopen(args.output_arg,"w")))
-      fprintf(stderr,"dgp: cannot open output file: %s.\n", args.output_arg), exit(1);
+//   if(args.input_given)
+//     if(!(inputf=fopen(args.input_arg,"r")))
+//       fprintf(stderr,"dgp: input file not found: %s.\n", args.input_arg), exit(1);
+
+//   if(args.output_given)
+//     if(!(outputf=fopen(args.output_arg,"w")))
+//       fprintf(stderr,"dgp: cannot open output file: %s.\n", args.output_arg), exit(1);
 
   if(!(grammarf=fopen(args.grammar_arg,"r")))
