(command-line-1): Detect it here.
(setq default-frame-alist
(cons '(icon-type . t) default-frame-alist))
(setq args (cdr args)))
- ((and (not (equal "" argi)) (aref argi 0))
- (error "Unknown option `%s'" argi))
(t (setq done t)))
;; Was argval set but not used?
(and argval
(if (not did-hook)
;; Ok, presume that the argument is a file name
(progn
+ (if (string-match "\\`-" argi)
+ (error "Unknown option `%s'" argi))
(setq file-count (1+ file-count))
(cond ((= file-count 1)
(setq first-file-buffer