title: p4 submit without submitting out-of-date files
body: <p>I want to use p4 submit command to submit a specific changelist, but unlike the GUI submit form, with command line you can submit even out-of-date files.</p>
  <p>For example, the latest file revision is #10.
  I sync revision #5, modify the file and then I'm able to submit with p4 submit command.
  Is there a way to avoid it? In other words, is there a way to achieve the same behavior as with GUI?</p>