Truncate long lines in emacs from command line argument

emacs

I know the command in the .emacs for long line truncation is:

(setq-default truncate-lines t)

or the keystroke:

M-x <RET> toggle-truncate-lines <RET>

but how do I pass these as parameters launching emacs from the shell?

Best Answer

emacs --eval '(setq-default truncate-lines t)'