There is no substantive difference between prohibiting most of the things people can do outside of the home and prohibiting leaving the home except for things that wouldn't be on that list of prohibitions. The framing of today's shelter-in-place orders is different than the orders issued in the 1918-1919 epidemic, the substance (in outline, details differ because the scope of options available to address is different) is not.