ParseArguments() private method

private ParseArguments ( string args ) : bool
args string
return bool
Example #1
0
 public static void Main(string[] args)
 {
     using (HelloFS fs = new HelloFS ()) {
         string[] unhandled = fs.ParseFuseArguments (args);
         foreach (string key in fs.FuseOptions.Keys) {
             Console.WriteLine ("Option: {0}={1}", key, fs.FuseOptions [key]);
         }
         if (!fs.ParseArguments (unhandled))
             return;
         // fs.MountAt ("path" /* , args? */);
         fs.Start ();
     }
 }
Example #2
0
 public static void Main(string[] args)
 {
     using (HelloFS fs = new HelloFS()) {
         string[] unhandled = fs.ParseFuseArguments(args);
         foreach (string key in fs.FuseOptions.Keys)
         {
             Console.WriteLine("Option: {0}={1}", key, fs.FuseOptions [key]);
         }
         if (!fs.ParseArguments(unhandled))
         {
             return;
         }
         // fs.MountAt ("path" /* , args? */);
         fs.Start();
     }
 }