I cannot find documentation of how exactly to set the line ending settings for a workspace using p4 from the command line. I know how to do this from p4v but I need to do it programmatically in a script and so using p4v isn't an option.
I know I can query the current state using the command
p4 client -o
I have found documentation about a setting LineEnd
and the different values it can be set to of local, unix, mac, win, and share but I can't figure out or find documentation telling me how to actually issue the command to pass a new value.
Any help would be much appreciated.