Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
Demo2: Mutually Exclusive Options by M.Hassan
------Case: web-----
Dumping object(OptionsMutuallyExclusive)
 AnonymousLogin    : False
 DocumentRoot      : ~/var/local/website
 EnableJavaScript  : True
 FtpDirectory      : null
 UrlAddress        : http://localhost
------Case: ftp-----
Dumping object(OptionsMutuallyExclusive)
 AnonymousLogin    : True
 DocumentRoot      : null
 EnableJavaScript  : False
 FtpDirectory      : ~/var/local/ftpsite
 UrlAddress        : ftp://myftp.server
------Case: not-allowed-----

Copyright (C) 1 author

ERROR(S):
Option: 'enablejavascript' is not compatible with: 'anonymouslogin'.
Option: 'anonymouslogin' is not compatible with: 'enablejavascript'.

ERROR(S):
Option: 'enablejavascript' is not compatible with: 'anonymouslogin'.
Option: 'anonymouslogin' is not compatible with: 'enablejavascript'.

  --documentroot        

  --enablejavascript    

  --ftpdirectory        

  --anonymouslogin      

  -r                    

  --help                Display this help screen.

  --version             Display version information.

Dumping object(System.Linq.<ExceptIterator>d__73`1[CommandLine.Error])
[
   {
   NameInfo         : 
                   {
                   LongName   : enablejavascript
                   NameText   : enablejavascript
                   ShortName  : 
                   }
   SetName          : web
   StopsProcessing  : False
   Tag              : MutuallyExclusiveSetError
   },
   {
   NameInfo         : 
  {
  LongName   : anonymouslogin
  NameText   : anonymouslogin
  ShortName  : 
  }
   SetName          : ftp
   StopsProcessing  : False
   Tag              : MutuallyExclusiveSetError
   }
]
Cached Result
Last Run: 6:24:33 pm
Compile: 0.205s
Execute: 0.291s
Memory: 1.05Mb
CPU: 0.359s